/**
 * Created by zzzz on 16/10/19.
 */
import React from 'react';
// import Navbar from '../navigation/index';
// import Loading from '../loading/index';
// import AppLinkBtn from '../appLinkBtn/index';
// import UserAgent from "../../util/UserAgent";
import ENV from "ENV";
import style from './style.less';
import classNames from 'classnames/bind';
const classMap = classNames.bind(style);

const render = function() {
    const {children, showFooter, isFailure, isLoading, paddingBottomSixty, paddingBottomSeventyFive, ...others} = this.props;
    const paddingBottom = classMap({
        'paddingBottomSixty': paddingBottomSixty ===true,
        'paddingBottomSeventyFive': paddingBottomSeventyFive ===true
    });
    return (
        <div className={paddingBottom}>
            chrome
            {/* <Navbar {...others} showDefaultLogo={true} /> */}
            {/* <Loading isLoading={isLoading} isFailure={isFailure} /> */}
            {/* {
                (UserAgent.isApp() && !UserAgent.isAppV2()) && <AppLinkBtn onBtnClick={this.onDownloadApp} position="top" btnText="马上下载" willShowNextTime={true}>
                    <h1>在新版西洋汇APP中</h1>
                    <h1>体验更流畅哦</h1>
                </AppLinkBtn>
            } */}
            {children}
        </div>
    );
};

export default render;
